package cn.xpg.service;

import java.util.List;

import cn.xpg.entity.Orders;

public interface OrdersService {
	// 新增订单
	public int addOrders(Orders orders);

	// 删除订单
	public int deleteOrders(int order_id);

	// 查询订单
	public List<Orders> getOrdersList(String order_id, String order_createtime, String order_updatetime,
			int currentPageNo, int pageSize);

	// 查询订单行数
	public int getOrdersCount(String order_id, String order_createtime, String order_updatetime);

	// 获取订单Id
	public Orders getOrdersId(int order_id);

	// 修改订单
	public int updateOrders(Orders orders);

	// 维修
	public int updateRepair(Orders orders);

	// 根据订单类型
	public List<Orders> getOrdersListByType(int order_type, String order_id, String order_createtime,
			String order_updatetime);
}
